package com.uhu.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author liujunjie
 * @since 2024-01-04
 */
@TableName("t_client")
@ApiModel(value = "Client对象", description = "客户表")
public class Client implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("客户ID")
    @TableId(value = "client_id", type = IdType.AUTO)
    private Long clientId;

    @ApiModelProperty("客户名称")
    private String clientName;

    @ApiModelProperty("客户编码")
    private String clientCode;

    @ApiModelProperty("客户性别。0-未知，1-男，2-女")
    private Integer clientSex;

    @ApiModelProperty("客户手机号码")
    private String clientMobile;

    @ApiModelProperty("客户邮箱")
    private String clientEmail;

    @ApiModelProperty("客户生日")
    private String clientBirthday;

    @ApiModelProperty("客户年龄")
    private Integer clientAge;

    @ApiModelProperty("客户标签")
    private byte[] clientTag;

    @ApiModelProperty("客户状态。0-有效，1-无效")
    private Integer clientStatus;

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public Integer getClientSex() {
        return clientSex;
    }

    public void setClientSex(Integer clientSex) {
        this.clientSex = clientSex;
    }

    public String getClientMobile() {
        return clientMobile;
    }

    public void setClientMobile(String clientMobile) {
        this.clientMobile = clientMobile;
    }

    public String getClientEmail() {
        return clientEmail;
    }

    public void setClientEmail(String clientEmail) {
        this.clientEmail = clientEmail;
    }

    public String getClientBirthday() {
        return clientBirthday;
    }

    public void setClientBirthday(String clientBirthday) {
        this.clientBirthday = clientBirthday;
    }

    public Integer getClientAge() {
        return clientAge;
    }

    public void setClientAge(Integer clientAge) {
        this.clientAge = clientAge;
    }

    public byte[] getClientTag() {
        return clientTag;
    }

    public void setClientTag(byte[] clientTag) {
        this.clientTag = clientTag;
    }

    public Integer getClientStatus() {
        return clientStatus;
    }

    public void setClientStatus(Integer clientStatus) {
        this.clientStatus = clientStatus;
    }

    @Override
    public String toString() {
        return "Client{" +
            "clientId = " + clientId +
            ", clientName = " + clientName +
            ", clientCode = " + clientCode +
            ", clientSex = " + clientSex +
            ", clientMobile = " + clientMobile +
            ", clientEmail = " + clientEmail +
            ", clientBirthday = " + clientBirthday +
            ", clientAge = " + clientAge +
            ", clientTag = " + clientTag +
            ", clientStatus = " + clientStatus +
        "}";
    }
}
